package com.chenyue.cm.match.service.impl;


import com.chenyue.cm.base.dao.LcBaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.match.dao.ViewMatchItemMapper;
import com.chenyue.cm.match.domain.ViewMatchItem;
import com.chenyue.cm.match.service.ViewMatchItemService;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.io.Serializable;


/**
 * @author chenyue-cm
 */
@Service(value = "ViewMatchItemService")
public class ViewMatchItemServiceImpl extends BaseServiceImpl<ViewMatchItem> implements ViewMatchItemService {

    private final ViewMatchItemMapper viewMatchItemMapper;

    public ViewMatchItemServiceImpl(
            @Qualifier("viewMatchItemMapper") ViewMatchItemMapper viewMatchItemMapper
    ) {
        this.viewMatchItemMapper = viewMatchItemMapper;
    }

    @Override
    @Resource(name = "viewMatchItemMapper")
    public void setBaseMapper(LcBaseMapper<ViewMatchItem, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }

}
